package com.jic.order.constant;

/**
 * @author guohuayong
 * @date: 2020年01月10日
 */
public class GlobalConsts {

	/**
	 * 本地IP
	 */
	public static final String LOCALHOST = "127.0.0.1";
	/**
	 * 逗号分隔符
	 */
	public static final String SPLIT_COMMA = ",";
	/**
	 * 客户端类型
	 */
	public static final String CLIENT_TYPE = "clientType";
	/**
	 * 客户端机型
	 */
	public static final String MACH_TYPE = "machType";
	/**
	 * 客户端渠道
	 */
	public static final String OS_VERSION = "osVersion";
	/**
	 * 客户端app版本
	 */
	public static final String APP_VERSION = "appVersion";
	/**
	 * 客户端渠道
	 */
	public static final String CHANNEL = "channel";
	/**
	 * 客户端设备号
	 */
	public static final String DEVICE_ID = "deviceId";
	/**
	 * 客户端地址
	 */
	public static final String HOST = "host";
	/**
	 * JWT公钥名称
	 */
	public static final String JWT_PUB_KEY_NAME = "pub.key";
	/**
	 * JWT私钥名称
	 */
	public static final String JWT_PRI_KEY_NAME = "pri.key";
	/**
	 * 头信息：token
	 */
	public static final String TOKEN_HEADER = "X-Auth-Token";
	/**
	 * 头信息：token
	 */
	public static final String ME_HEADER = "userId";

	public static final String ME_CODE = "code";
}
